<?php

use \App\HttpController\Router;

Router::group(['prefix'=>'api/v3','namespace'=>'Web'],function (){
    Router::post('login',   'AuthController/login');//登录
    //视频列表
    Router::group(['prefix'=>'video'], function(){
        Router::get ('',   'VideoController/index');//视频列表
        Router::get ('rand/list','VideoController/randList');//视频详情列表
        Router::get ('info','VideoController/info');//视频详情
    });
    Router::post('form','FormController/index');//分类列表
});